cmake_minimum_required(VERSION 3.16)
project(Library)

set(CMAKE_CXX_STANDARD 14)

include_directories(C:\\Program\ Files\\MySQL\\MySQL\ Server\ 5.6\\include)
link_directories(C:\\Program\ Files\\MySQL\\MySQL\ Server\ 5.6\\lib)
link_directories(libmysql)
add_executable(Library main.cpp Book.cpp Book.h BorrowRecord.cpp BorrowRecord.h User.cpp User.h TimeUtil.cpp TimeUtil.h DBUtil.cpp DBUtil.h Student.cpp Student.h Manager.cpp Manager.h)
target_link_libraries(Library libmysql)